<?php echo use_helper('jQuery') ?>

<?php slot('tree_structure') ?>
    <?php include_partial('portal/gardener', array('portal' => $button->getPortal()))?>
<?php end_slot() ?>

<?php echo jq_javascript_tag(
        jq_update_element_function('tree_structure', array(
            'content' => get_slot('tree_structure')))
    )?>